package com.jmyd.commons.constants;

/**
 * 公共URL前缀常量类
 *
 * @author samphin
 * @date 2019-9-30 13:45:06
 */
public final class BaseUrlConstants {

    private BaseUrlConstants() {
    }

    public static final String BASE_V1_VERSION_PREFIX = "/v1";

    public static final String BASE_V2_VERSION_PREFIX = "/v2";

    /**
     * 移动端、H5、Web展示端访问前缀
     */
    public static final String BASE_API_PREFIX = BASE_V1_VERSION_PREFIX + "/api";

    /**
     * 移动端、H5、Web展示端访问前缀v2版本
     */
    public static final String BASE_V2_API_PREFIX = BASE_V2_VERSION_PREFIX + "/api";

    /**
     * PC端管理后台访问前缀
     */
    public static final String BASE_ADMIN_PREFIX = BASE_V1_VERSION_PREFIX + "/m";
}
